package com.itheima.service;

import com.itheima.common.R;
import com.itheima.common.RoleResult;
import com.itheima.pojo.SysRole;

public interface SysRoleService {
    R findList(Integer pageNum, Integer pageSize, SysRole sysRole);

    R addRole(SysRole sysRole);

    RoleResult findById(Long roleId);

    R updateRole(SysRole sysRole);

    R deleteById(Long roleId);

}
